﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using DevExpress.UserSkins;
using DevExpress.Skins;

namespace SgAutoArchiveSp
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            BonusSkins.Register();
            SkinManager.EnableFormSkins();

            //Dialog.UDiskTest dialog2 = new Dialog.UDiskTest();
            //dialog2.ShowDialog();

            Dialog.Dialog_Login dialog = new Dialog.Dialog_Login();
            dialog.ShowDialog();
            if (dialog._bOK)
                {
                    Application.Run(new frm_Main());
                    //Application.Run(new Dialog.Dialog_Tongji());
                }
           ////Application.Run(new frm_Main());
        }

        public static string _imagePath = System.Windows.Forms.Application.StartupPath + "\\image";
        public static string _filePath = System.Windows.Forms.Application.StartupPath + "\\导出文件";
        public static string _jyfilePath = System.Windows.Forms.Application.StartupPath + "\\解压文件";
        public static string _lsfilePath = System.Windows.Forms.Application.StartupPath + "\\临时文件";
        public static SgAutoArchiveBrrDal.T_USER _nowUser;
    }
}
